package com.itqf.ds;

import com.alibaba.druid.pool.DruidDataSource;
import org.apache.ibatis.datasource.pooled.PooledDataSourceFactory;

/**
 * @Description:
 * @Company: 千锋互联
 * @Author: 李丽婷
 * @Date: 2020/9/25
 * @Time: 下午3:06
 */
public class MyDataSourceFactory extends PooledDataSourceFactory {

    public MyDataSourceFactory(){
        this.dataSource = new DruidDataSource();
        System.err.println("数据源是druid："+this.dataSource);
    }


}
